package calbs.socket.tool;/**
 * Created by zhangqin on 2017/8/11.
 */

/**
 * @author
 * @create 2017-08-11 16:40
 **/
public class CountNumber {
    private int count=0;
    public synchronized int getNumber(){
        if (count==65535){
            count=0;
        }
        return count++;
    }
}
